package org.adream.account.entity;

import java.io.Serializable;

public class ResourceEntity extends PubClass implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1647639549732974233L;

	private String resId;

	private String resName;
	
	private String resUrl;

	private String resDesc; // resource description
	
	private String iconCode; 
	
	public ResourceEntity(String resId, String resName, String resDesc, String iconCode) {
		super();
		this.resId = resId;
		this.resName = resName;
		this.resDesc = resDesc;
		this.iconCode = iconCode;
	}

	public ResourceEntity() {
		super();
	}

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public String getResName() {
		return resName;
	}

	public void setResName(String resName) {
		this.resName = resName;
	}
	
	public String getResUrl() {
		return resUrl;
	}

	public void setResUrl(String resUrl) {
		this.resUrl = resUrl;
	}

	public String getResDesc() {
		return resDesc;
	}

	public void setResDesc(String resDesc) {
		this.resDesc = resDesc;
	}
	
	public String getIconCode() {
		return iconCode;
	}

	public void setIconCode(String iconCode) {
		this.iconCode = iconCode;
	}
	
	@Override
	public String toString() {
		return "ResourceEntity [resId=" + resId + ", resName=" + resName + ", resUrl=" + resUrl + ", resDesc=" + resDesc
				+ ", iconCode=" + iconCode + "]";
	}

	@Override
	public String getTable() {
		return "acc_resource";
	}
}